/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import net.minecraft.util.IStringSerializable;
/*    */ import net.minecraft.util.math.BlockPos;
/*    */ 
/*    */ public enum fe
/*    */   implements IStringSerializable
/*    */ {
/*  9 */   f(0, 2, "north", 0, -1),
/* 10 */   s(1, 3, "east", 1, 0),
/* 11 */   m(2, 0, "south", 0, 1),
/* 12 */   l(3, 1, "west", -1, 0);
/*    */   static {
/* 14 */     t = new fe[(values()).length];
/*    */ 
/*    */     
/* 17 */     for (fe a : values()) {
/* 18 */       t[a.z] = a;
/*    */     }
/*    */   }
/*    */ 
/*    */   
/*    */   private static final fe[] t;
/*    */   
/*    */   private final String d;
/*    */   
/*    */   private final int z;
/*    */   
/*    */   private final int i;
/*    */   
/*    */   private final int w;
/*    */   
/*    */   private final int q;
/*    */   
/*    */   fe(int i, int j, String str1, int k, int m) {
/*    */     this.i = j;
/*    */     this.z = i;
/*    */     this.d = str1;
/*    */     this.w = k;
/*    */     this.q = m;
/*    */   }
/*    */   
/*    */   public static fe v(int a) {
/* 44 */     if (a < 0 || a >= (values()).length) {
/* 45 */       return null;
/*    */     }
/*    */     
/* 48 */     return t[a];
/*    */   }
/*    */   
/*    */   public fe getOpposite() {
/* 52 */     return v(this.i);
/*    */   }
/*    */   
/*    */   public int getOffsetX() {
/* 56 */     return this.w;
/*    */   }
/*    */   
/*    */   public int getOffsetZ() {
/* 60 */     return this.q;
/*    */   }
/*    */   
/*    */   public BlockPos getOffsetBlockPos(BlockPos blockPos) {
/* 64 */     return blockPos.func_177982_a(getOffsetX(), 0, getOffsetZ());
/*    */   }
/*    */ 
/*    */ 
/*    */   
/*    */   public String func_176610_l() {
/* 70 */     return this.d;
/*    */   }
/*    */ 
/*    */   
/*    */   public String toString() {
/* 75 */     return "DirectionTetra{name='" + this.d + '\'' + '}';
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\fe.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */